package wapper;

public class IntegerDemo2 {
    public static void main(String[] args) {
        int imax = Integer.MAX_VALUE;
        int imin = Integer.MIN_VALUE;
        System.out.println(imax);
        System.out.println(imin);

        double dmax = Double.MAX_VALUE;
        double dmin = Double.MIN_VALUE;
        System.out.println(dmax);
        System.out.println(dmin);

        float fmax = Float.MAX_VALUE;
        float fmin = Float.MIN_VALUE;
        System.out.println(fmax);
        System.out.println(fmin);

        String str = "123";
        String str2 = "123.456";
        int i = Integer.parseInt(str);
        double d = Double.parseDouble(str2);
        System.out.println(i);
        System.out.println(d);



    }
}
